package cn.tiger.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 对话视图对象
 */
@Data
@Schema(description = "对话信息")
public class ConversationVO {
    
    /**
     * 对话ID
     */
    @Schema(description = "对话ID", example = "1")
    private Long id;
    
    /**
     * 对话标题
     */
    @Schema(description = "对话标题", example = "Spring Boot学习")
    private String title;
    
    /**
     * 创建时间
     */
    @Schema(description = "创建时间", example = "2024-01-01T10:00:00")
    private LocalDateTime createTime;
    
    /**
     * 最后更新时间
     */
    @Schema(description = "最后更新时间", example = "2024-01-01T10:30:00")
    private LocalDateTime updateTime;
    
    /**
     * 消息数量
     */
    @Schema(description = "消息数量", example = "10")
    private Long messageCount;
    
    /**
     * 最后一条消息内容
     */
    @Schema(description = "最后一条消息内容", example = "谢谢你的回答")
    private String lastMessage;
    
    /**
     * 对话状态
     */
    @Schema(description = "对话状态：1-正常，2-归档，0-删除", example = "1")
    private Byte status;
}
